package net.diaowen.dwsurvey.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.diaowen.common.base.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 答卷  多选题保存表
 * @author keyuan
 * @date 2012-10-21下午9:26:43
 *
 * https://github.com/wkeyuan/DWSurvey
 * http://dwsurvey.net
 */
@Entity
@Table(name="t_qu_excel_template")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuExcelTemplate extends IdEntity {

	// 文件地址
	private String filePath;
	// 文件名称
	private String fileName;
	// 题目ID
	private String quId;
	// 状态：0-失效 1-有效
	private Integer state ;
	// 创建时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime ;
	// 更新时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date updateTime ;

}
